/**
 * User: alesj
 * Date: Feb 25, 2003
 * Time: 10:14:41 AM
 */

package com.generalynx.common.utils;

public class Const {
    public static final int MINUTES_PER_HOUR = 60;
    public static final int MINUTES_PER_DAY = 24 * MINUTES_PER_HOUR;
    public static final int SECONDS_PER_MINUTE = 60;
    public static final int SECONDS_PER_HOUR = MINUTES_PER_HOUR * SECONDS_PER_MINUTE;
    public static final int SECONDS_PER_DAY = MINUTES_PER_DAY * SECONDS_PER_MINUTE;
    public static final int MILLIS_PER_SECOND = 1000;
    public static final int MILLIS_PER_MINUTE = MILLIS_PER_SECOND * SECONDS_PER_MINUTE;
    public static final int MILLIS_PER_HOUR = MILLIS_PER_SECOND * SECONDS_PER_HOUR;
    public static final int MILLIS_PER_DAY = MILLIS_PER_SECOND * SECONDS_PER_DAY;

    /**
     * Date, which represents infinite past. It should be "before" any other date existing in the system.
     */
    public static final String sDbMinLimitDate = "{d '1800-1-1'}";
    /**
     * Date, which represents infinite future. It should be "after" any other  date existing in the system.
     */
    public static final String sDbMaxLimitDate = "{d '2100-1-1'}";

}
